package com.hanqi.dao;

import com.hanqi.entity.SysUserRole;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author zjk
 * @since 2019-04-27
 */
public interface SysUserRoleMapper extends BaseMapper<SysUserRole> {

    boolean insertUserRoleAuth(@Param("userId") String userId, @Param("roleId") String roleId);

    boolean removeUserRoleAuth(@Param("userId") String userId, @Param("roleId") String roleId);
}
